package kjj.android.ch8.app;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class MyReceiver extends BroadcastReceiver{

	@Override
	public void onReceive(Context ctx, Intent intent)
	{
		String msg = intent.getStringExtra("message");
		Toast.makeText(ctx, msg, Toast.LENGTH_LONG).show();
		
	}
}
